<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>
<script>
  export default{
    created(){
      // 禁用掉左右拖动白屏问题
      document.body.addEventListener('touchmove', (e) => {
        if (e._isScroller) return;
        e.preventDefault()
      }, {
        passive: false
      })
    }
  }
</script>
<style lang="scss">
#app {
  height: 100%;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}
html,body {
  height: 100%;
  overflow: hidden;
}
</style>
